package com.sinosoft.app.common.kafka.vo;


import java.util.List;

/**
 * 事件的封装对象
 */
public class Event {
    private String op;              // 事件类型
    private List<ValueField> key;   // 主键
    private List<ValueField> value; // 有效的field,value
    private long time;              // 发生时间
    private String table;

    public String getOp() {
        return op;
    }

    public void setOp(String op) {
        this.op = op;
    }

    public List<ValueField> getKey() {
        return key;
    }

    public void setKey(List<ValueField> key) {
        this.key = key;
    }

    public List<ValueField> getValue() {
        return value;
    }

    public void setValue(List<ValueField> value) {
        this.value = value;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }
}
